package com.tj.collection.db.admin.dao;

import com.fqgj.common.base.BaseMapper;
import com.tj.collection.db.admin.entity.AdminProfileEntity;

import java.util.List;
import java.util.Map;

/**
 * User: Karl
 * Date: 2019-04-08
 * Time: 16:45:17.035
 */

public interface AdminProfileDao extends BaseMapper<AdminProfileEntity> {

    List<AdminProfileEntity> selectAdminProfileListByParams(Map<String, Object> params);

    /**
     * 根据adminid+类型查询
     *
     * @param adminId
     * @param type
     * @return
     */
    List<AdminProfileEntity> selectAdminProfileListByType(long adminId, String type);

}